Mollie\WooCommerce\Gateway\Voucher\MaybeDisableGateway A

Total Complexity 56
Dependencies 3
Dependents 2
Total lines 167
Lines of code 109
Logical lines of code 76
Comment lines 51
Methods 4
Properties 0

Methods 4

Method Rating Maintainability Complexity Lines of code
haveCartProductsCategories()
B
42 19 49
maybeDisableMealVoucherGateway()
A
50 13 26
maybeDisableBankTransferGateway()
A
56 13 14
productHasVoucherCategory()
A
55 11 20